import request from '@/utils/request'

// 查询商品sku积分列表
export function listSkuBounds(query) {
  return request({
    url: '/marketing/skuBounds/list',
    method: 'get',
    params: query
  })
}

// 查询商品sku积分详细
export function getSkuBounds(id) {
  return request({
    url: '/marketing/skuBounds/' + id,
    method: 'get'
  })
}

// 新增商品sku积分
export function addSkuBounds(data) {
  return request({
    url: '/marketing/skuBounds',
    method: 'post',
    data: data
  })
}

// 修改商品sku积分
export function updateSkuBounds(data) {
  return request({
    url: '/marketing/skuBounds',
    method: 'put',
    data: data
  })
}

// 删除商品sku积分
export function delSkuBounds(id) {
  return request({
    url: '/marketing/skuBounds/' + id,
    method: 'delete'
  })
}
